# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'gmailconfigaccountform.ui'
#
# Created: Thu Mar 19 22:40:13 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(453, 273)
        self.gridLayout = QtGui.QGridLayout(Dialog)
        self.gridLayout.setObjectName("gridLayout")
        self.groupBox = QtGui.QGroupBox(Dialog)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 1, 0, 1, 1)
        self.txtPasswd = QtGui.QLineEdit(self.groupBox)
        self.txtPasswd.setEchoMode(QtGui.QLineEdit.Password)
        self.txtPasswd.setObjectName("txtPasswd")
        self.gridLayout_2.addWidget(self.txtPasswd, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 2, 0, 1, 1)
        self.txtLabel = QtGui.QLineEdit(self.groupBox)
        self.txtLabel.setObjectName("txtLabel")
        self.gridLayout_2.addWidget(self.txtLabel, 2, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 3, 0, 1, 1)
        self.txtDisplayName = QtGui.QLineEdit(self.groupBox)
        self.txtDisplayName.setObjectName("txtDisplayName")
        self.gridLayout_2.addWidget(self.txtDisplayName, 3, 1, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.txtUsername = QtGui.QLineEdit(self.groupBox)
        self.txtUsername.setObjectName("txtUsername")
        self.horizontalLayout_2.addWidget(self.txtUsername)
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setEnabled(False)
        self.label_5.setObjectName("label_5")
        self.horizontalLayout_2.addWidget(self.label_5)
        self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 1, 1, 1)
        self.chkInTotal = QtGui.QCheckBox(self.groupBox)
        self.chkInTotal.setChecked(True)
        self.chkInTotal.setObjectName("chkInTotal")
        self.gridLayout_2.addWidget(self.chkInTotal, 4, 1, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout_2, 0, 0, 1, 1)
        self.gridLayout.addWidget(self.groupBox, 0, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.btnSave = QtGui.QPushButton(Dialog)
        self.btnSave.setObjectName("btnSave")
        self.horizontalLayout.addWidget(self.btnSave)
        self.btnCancel = QtGui.QPushButton(Dialog)
        self.btnCancel.setObjectName("btnCancel")
        self.horizontalLayout.addWidget(self.btnCancel)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 1, 0, 1, 1)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        Dialog.setTabOrder(self.txtUsername, self.txtPasswd)
        Dialog.setTabOrder(self.txtPasswd, self.txtLabel)
        Dialog.setTabOrder(self.txtLabel, self.txtDisplayName)
        Dialog.setTabOrder(self.txtDisplayName, self.chkInTotal)
        Dialog.setTabOrder(self.chkInTotal, self.btnSave)
        Dialog.setTabOrder(self.btnSave, self.btnCancel)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Account Details", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Account Details", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "Username:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Dialog", "Password:", None, QtGui.QApplication.UnicodeUTF8))
        self.txtPasswd.setToolTip(QtGui.QApplication.translate("Dialog", "Gmail account password", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Dialog", "Label (optional):", None, QtGui.QApplication.UnicodeUTF8))
        self.txtLabel.setToolTip(QtGui.QApplication.translate("Dialog", "Gmail label, such as \"spam\" or \"starred\", to show (leave this empty for the standard inbox)", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Dialog", "Display name (optional):", None, QtGui.QApplication.UnicodeUTF8))
        self.txtDisplayName.setToolTip(QtGui.QApplication.translate("Dialog", "Select a user friendly name for this account that will be displayed", None, QtGui.QApplication.UnicodeUTF8))
        self.txtUsername.setToolTip(QtGui.QApplication.translate("Dialog", "Gmail account name (without the \"@gmail.com\")", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Dialog", "@gmail.com", None, QtGui.QApplication.UnicodeUTF8))
        self.chkInTotal.setToolTip(QtGui.QApplication.translate("Dialog", "If this box is checked unread emails in this account will be included in the new mail total shown on the widget icon", None, QtGui.QApplication.UnicodeUTF8))
        self.chkInTotal.setText(QtGui.QApplication.translate("Dialog", "Include in total new mail count", None, QtGui.QApplication.UnicodeUTF8))
        self.btnSave.setText(QtGui.QApplication.translate("Dialog", "&Save", None, QtGui.QApplication.UnicodeUTF8))
        self.btnCancel.setText(QtGui.QApplication.translate("Dialog", "&Cancel", None, QtGui.QApplication.UnicodeUTF8))

